﻿using System.Data.Entity;

namespace Jet.Dal.EF.Implementation.Contexts
{
	class DbContext12<TEntity1, TEntity2, TEntity3, TEntity4, TEntity5, TEntity6, TEntity7, TEntity8, TEntity9, TEntity10, TEntity11, TEntity12> : DbContext11<TEntity1, TEntity2, TEntity3, TEntity4, TEntity5, TEntity6, TEntity7, TEntity8, TEntity9, TEntity10, TEntity11>
		where TEntity1 : class
		where TEntity2 : class
		where TEntity3 : class
		where TEntity4 : class
		where TEntity5 : class
		where TEntity6 : class
		where TEntity7 : class
		where TEntity8 : class
		where TEntity9 : class
		where TEntity10 : class
		where TEntity11 : class
		where TEntity12 : class
	{
#pragma warning disable 0169
		// ReSharper disable UnusedMember.Local
		protected DbSet<TEntity12> DbSet12 { get; set; }
		// ReSharper restore UnusedMember.Local
#pragma warning restore 0169

		public DbContext12(string connectionString, bool lazyLoadingAllowed, bool allowProxyCreation)
			: base(connectionString, lazyLoadingAllowed, allowProxyCreation)
		{

		}

		static DbContext12()
		{
			Database.SetInitializer<DbContext12<TEntity1, TEntity2, TEntity3, TEntity4, TEntity5,
				TEntity6, TEntity7, TEntity8, TEntity9, TEntity10, TEntity11, TEntity12>>(null);
		}	
	}
}
